package noppes.vc.client;

import java.awt.Color;
import net.minecraft.client.renderer.color.IItemColor;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraft.item.EnumDyeColor;
import net.minecraft.item.ItemStack;

class ClientProxy$1 implements IItemColor {
   // $FF: synthetic field
   final ClientProxy this$0;

   ClientProxy$1(ClientProxy this$0) {
      this.this$0 = this$0;
   }

   public int colorMultiplier(ItemStack stack, int tintIndex) {
      float[] color = EntitySheep.getDyeRgb(EnumDyeColor.byDyeDamage(stack.getItemDamage()));
      return (new Color(color[0], color[1], color[2])).getRGB();
   }
}
